/**
 *
 * @author John Creecy
 */

package battlebarnapplet;

import javax.swing.JFrame;

public class Main extends JFrame {

	public static long lastPacketTime;

	public Main() {
		add(new Board());
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(512, 512);
		setLocationRelativeTo(null);
		setTitle("BattleBarn2D");
		setResizable(false);
		setVisible(true);
	}

	public static void main(String[] args) {
		new Main();

		Runnable runnable = new StateListener();
		Thread thread = new Thread(runnable);
		thread.start();
	}
}
